-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor DB as document store, add Postgres, remove mongo #9176
Conversation
… into eelco/json_action_store
… into eelco/json_action_store
try: | ||
value = getattr(obj, attr) | ||
except Exception as e: | ||
if raise_errors: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when would you not want to do this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
searchable attrs can be @property
methods, and those can throw errors. Example: Job.code_id
was throwing errors when the Job was for a twinAPI. This flag is to control this behaviour, 'do i want to skip writing if some method throws an error'
we're using raise_errors=False right now to just skip searchable properties that hit an exception
- redefine migrations for queue items and subclasses
- add migration method for notification class
…k8s to `tmp/data/db` Co-authored-by: Shubham Gupta <[email protected]>
This reverts commit 8417653.
Description
Please include a summary of the change, the motivation, and any additional context that will help others understand your PR. If it closes one or more open issues, please tag them as described here.
Affected Dependencies
List any dependencies that are required for this change.
How has this been tested?
Checklist